<?php

namespace app\shop\controller;

use app\Base;

/**
 * 商店模块测试
 * User : Du
 * Date : 2022/11/24
 * Time : 13:51
 * Class Index
 * @package projects\services\shop
 */
class Index extends Base
{

    public function index()
    {
        $data = 1;
        return view('index', ['data' => $data]);
    }

    public function list()
    {
        return view('list');
    }

    public function details()
    {
        return view('details');
    }

    public function cart(): \think\response\View
    {
        return view('cart');
    }

    public function contact()
    {
        return view('contact');
    }

}